
<!DOCTYPE HTML>
<html lang="zh-cn">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width,initial-scale=1.0" name="                                                                              viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <title>模型管理</title>

    <link href="/lib/ui/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">

    <link href="/content/pc/sysmgt/dbcontact/css/bootstrap-table.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/content/pc/sysmgt/dbcontact/css/e-table.css">
    <link rel="stylesheet" href="/content/pc/sysmgt/dbcontact/css/style.css">
    <link rel="stylesheet" href="/lib/rapid/css/rapid.ui.layout.min.css">
    <link rel="stylesheet" href="/lib/rapid/css/rapid.ui.theme.1.min.css">
    <link rel="stylesheet" href="/lib/fontawesome5/css/all.min.css">
    <link rel="stylesheet" href="/content/pc/sysmgt/dbcontact/css/webuploader.css">
    <link href="/content/pc/sysmgt/dbcontact/css/component-chosen.css" rel="stylesheet">
    <link rel="stylesheet" href="/content/pc/sysmgt/dbcontact/css/bootstrap-datetimepicker.css">


</head>
<body>

<div class="container box1" style="width: 1500px" >
    <div class="panel-body"  style="padding-bottom: 1px;">
    <form class="form-horizontal">

        <div class="form-group">

            <div class="col-sm-2">

                <!-- 自定义搜索框 -->

                <input type="text" name="searchString" id="searchString_id" class="form-control" placeholder="请选择模型名称"  />


            </div>



            <div class="col-sm-1">

                <button type="button" class="btn btn-primary btn-w-m" id="queryBtn">

                    <span class="glyphicon glyphicon-search"></span> 搜索

                </button>

            </div>

        </div>

    </form>
    </div>
    <div style="text-align: left"><h2>模型管理</h2></div>
    <div class="an">

        <button class="an1" id="cadd">新增<span class="glyphicon glyphicon-plus" ></span></button>
		<button class="an4" id="cedit">编辑<span class="glyphicon glyphicon-pencil" ></span></button>
        <button class="an2" id="cdel">删除<span class="glyphicon glyphicon-remove" ></span></button>
        <button class="an3" id="cal">计算<span class="glyphicon glyphicon-remove" ></span></button>
       <!-- <button class="an3" id="cimp">导入<span class="glyphicon glyphicon-import"></span></button>
        <button class="an5" id="cexp">导出<span class="glyphicon glyphicon-export"></span></button>-->
    </div>
    <table id="table"></table>
</div>
<div class="container box2" style="width: 1500px">
    <ul class="nav nav-tabs" id="myTab">
      <li class="active" ><a href="#submodel">计算子模型</a></li>

 <!--     <li><a href="#messages">tab3</a></li>-->
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="submodel">
            <div class="an">
        <button class="an1" id="z1add">增加<span class="glyphicon glyphicon-plus" ></span></button>
		<button class="an4" id="z1edit">编辑<span class="glyphicon glyphicon-pencil" ></span></button>
        <button class="an2" id="z1del">删除<span class="glyphicon glyphicon-remove" ></span></button>
        <!-- <button class="an3" id="z1imp">导入<span class="glyphicon glyphicon-import"></span></button>
         <button class="an5" id="z1cexp">导出<span class="glyphicon glyphicon-export"></span></button>-->
            </div>
            <table class="table table-hover table-hover1 " id="table_z1" border="0" cellspacing="1">

            </table>
        </div>
            </table>
        </div>
  </div>
</div>

<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog"  aria-labelledby="myLargeModalLabel" id="myModal">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">模型管理</h4>
            </div>
            <div class="modal-body" >
                <form action="" id="contactform" class="form-horizontal">
                    <div class="form-group">

                        <label for="" class="col-sm-2 control-label">模型ID</label>
                        <div class="col-sm-9">
                            <input type="hidden"    id="conflict_id" name="CONFLICT_ID">
                            <input type="text" class="form-control" disabled="disabled"  id="cid" name="cid">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">模型描述</label>
                        <div class="col-sm-9">
                            <select name="attrib_01" class="form-control" id="attrib_01">
                                #for(x:mxmc)
                                <option value="#(x.conflict_id)" >#(x.cnname)</option>
                                #end
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">字段名称</label>
                        <div class="col-sm-9">
                            <select name="attrib_03" class="form-control" id="attrib_03">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">计算规则</label>
                        <div class="col-sm-9">
                            <select name="attrib_06" class="form-control" id="attrib_06">
                                #for(x:jsgz)
                                <option value="#(x.codename)" >#(x.codename)</option>
                                #end
                            </select>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button"  class="btn btn-primary" id="sava-edit-btn">保存</button>
            </div>
        </div>
    </div>
</div>


<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="myModal1">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel1">计算子模型</h4>
            </div>
            <div class="modal-body" >
                <form action="" id="contactform1" class="form-horizontal">
                    <div class="form-group">

                        <label for="" class="col-sm-2 control-label">模型ID</label>
                        <div class="col-sm-9">
                            <input type="hidden"    id="conflict_id_z1" name="CONFLICT_ID">
                            <input type="hidden"    id="rowidz1" name="ROW_ID">
                            <input type="text" class="form-control" disabled="disabled"  id="cid_z1" name="cid">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label" >字段描述</label>
                        <div class="col-sm-9">
                            <select name="attrib_02" class="form-control" id="attrib_02_z1">

                            </select>
                        </div>
                    </div>


                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button"  class="btn btn-primary" id="sava-edit-btn_z1">保存</button>
            </div>
        </div>
    </div>
</div>


<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="myModalimp">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabeimp">导入</h4>
            </div>
            <div class="modal-body">
                <form action="" id="contactformimp" class="form-horizontal">

                    <div class="form-group">
                        <input type="hidden"    id="modelId" name="modelId" >

                        <input type="hidden"    id="row_id" name="row_id" >
                        <input type="hidden"    id="lx"  >
                        <label for="" class="col-sm-2 control-label" >选择主键</label>
                        <div class="col-sm-9">
                            <select name="umdKey" class="form-control" id="umdKey" >

                            </select>
                        </div>
                    </div>
                    <div class="form-group">

                        <label for="" class="col-sm-2 control-label" >更新规则</label>
                        <div class="col-sm-9">
                            <select name="updateRule" class="form-control" id="updateRule">

                            </select>
                        </div>
                    </div>


                    <div id="uploader" class="wu-example" style="height: 100px;margin-left: 65px">
                        <!--用来存放文件信息-->
                        <div id="thelist" class="uploader-list"></div>
                        <input type="hidden"    id="hideFileName" name="importFile">
                        <div class="btns">
                            <div id="picker" style="float:left">选择文件</div> <button id="ctlBtn" style="float:left;height: 40px;width: 86px;margin-left: 30px" class="btn btn-default">开始上传</button>

                        </div>
                    </div>





                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button"  class="btn btn-primary" id="imp-btn">导入</button>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/script/pc/sysmgt/zsjgl/jquery.min.js"></script>
<script src="/script/pc/sysmgt/zsjgl/bootstrap-table.min.js"></script>
<script src="/script/pc/sysmgt/zsjgl/bootstrap-table-zh-CN.min.js"></script>
<script src="/script/pc/sysmgt/zsjgl/chosen.jquery.js"></script>
<script src="/script/pc/sysmgt/zsjgl/e-table.js"></script>
<script src="/script/pc/sysmgt/zsjgl/e-tablee.js"></script>
<script src="/script/pc/sysmgt/zsjgl/bootstrap.min.js"></script>
<script type="text/javascript" src="/script/pc/sysmgt/model/index.js"></script>

<script src="/lib/rapid/script/rapid.ui.min.js"></script>
<script src="/script/pc/sysmgt/zsjgl/bootstrapValidator.min.js"></script>
<script src="/script/pc/sysmgt/zsjgl/webuploader.js"></script>

<script src="/script/pc/sysmgt/zsjgl/bootstrap-datetimepicker.js"></script>

<script src="/script/pc/sysmgt/zsjgl/bootstrap-datetimepicker.zh-CN.js"></script>
<!--<script src="/script/pc/sysmgt/dbcontact/datetimepicker.js"></script>-->
<script src="/script/pc/sysmgt/zsjgl/datetimepickersj.js"></script>
</html>